package com.zone.demo.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
* Description
* @author shao
* @date 2021/7/8 9:59
*/
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
public class Person implements Serializable {

	private static final long serialVersionUID = -6112847285691942529L;
	private String id;
	private String name;
	private Integer age;


	public Person() {
	}


	/**
	 * 获取
	 * @return id
	 */
	public String getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取
	 * @return age
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * 设置
	 * @param age
	 */
	public void setAge(Integer age) {
		this.age = age;
	}

}